package com.gitee.poi.plugin.util;

import java.lang.reflect.Field;

public class AnnotationUtils {

    public static boolean support(Field field, Class... annotations) {
        for (int index = 0; index < annotations.length; index++) {
            if (field.getAnnotation(annotations[index]) != null) {
                return true;
            }
        }
        return false;
    }
}
